
<!DOCTYPE html>
<html>
<head>
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>TI费用申请</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
<link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
<link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">


    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
</head>

<body style="color:#333;padding:3px;">
<div class="page-heade clearfix">
    <h2 class="clearfix text-center">
        <a class="col-md-3 title_color H_right" id="Ap1" style=" font-size: 16px;color:#333;" href="{:url('ti_apply/index')}">常规促销费用申请</a>
        <a class="col-md-3 title_color H_right" id="Ap2" style="color:#333;font-size: 16px" href="{:url('TiApply2/index')}">非常规促销费用申请</a>
        <a class="col-md-3 title_color H_right" id="Ap3" style="color:#333;font-size: 16px" href="{:url('Tijinchang/index')}">进场费用申请</a>
        <a class="col-md-3 title_color   H_active" id="Ap4" style="font-size: 16px" href="{:url('other/zxfeiyongapply')}">专项费用申请</a>
    </h2>
</div>
<!-- 标题 -->
<!--<div class="page-heade">
    <h1 class="title_color">TI费用核销面单查询</h1>
</div>-->
<!-- 标题 -->
<div class="row-margin-top">
    <form action="" class="form-inline"  id="form1">
    
        <table class="row-margin-top tab-content table-bordered  table" border="1">
            <thead>
                <th colspan="4" class="info"><span class="font-bold">专项方案</span></th>
            </thead>
            <tr>
                <td class="text-center">
                    <div class="padding-10 text-center">暂无可报名专项 ~~ </div>
                </td>
            </tr>
        </table>
          <table class="row-margin-top tab-content table-bordered  table" border="1">
            <thead>
                <th colspan="6" class="info"><span class="font-bold">已报名的活动</span></th>
            </thead>
            <tr>
                <td class="text-right" style="width: 140px">编号：</td>
                <td><input type="text" class="form-control" name="" id="" value=""></td>
                <td class="text-right" style="width: 140px">状态：</td>
                <td>
                    <select name="" id="" class="form-control select">
                        <option value="0">请选择</option>
                        <option value="1">草稿</option>
                        <option value="2">已提交</option>
                        <option value="3">已打回</option>
                        <option value="4">已作废</option>
                        <option value="5">已否决</option>
                        <option value="6">已归档</option>
                    </select>
                </td>
                <td class="text-right" style="width: 140px">申请时间：</td>
                <td>
                    <div class="form-group">
                        <input type="text" class="layer-date form-control" id="start" name="" value="">
                    </div>
                    至
                     <div class="form-group">
                        <input type="text" class="layer-date form-control" id="end" name="" value="">
                    </div>
                </td>
            </tr>
            <tr>
                <td class="text-right" style="width: 140px">主题：</td>
                <td><input type="text" class="form-control" name="" id="" value=""></td>
                <td class="text-right" style="width: 140px">是否已过期：</td>
                <td>
                    <select name="" id="" class="form-control select">
                        <option value="0">所有</option>
                        <option value="1">未过期</option>
                        <option value="2">已过期</option>
                    </select>
                </td>
                <td colspan="2"></td>
            </tr>
            <tr>
                <td class="text-center" colspan="6">
                     <button class="btn btn-info query" type="button">查询</button>
                    <button class="btn btn-info emptyIf" type="button">清空查询条件</button>
                </td>
            </tr>
        </table>
        <table class="table table-striped table-bordered table-hover text-center" id="verifytable">
            <tr class="info text-center">
                <th class="text-center">NO.</th>
                <th class="text-center">类型</th>
                <th class="text-center">编号</th>
                <th class="text-center">主题</th>
                <th class="text-center">经销商名</th>
                <th class="text-center">专项方案编号</th>
                <th class="text-center">状态</th>
                <th class="text-center">申请人</th>
                <th class="text-center">申请时间</th>
                <th class="text-center">操作</th>
            </tr>
            <tbody style="border:0">
               
            </tbody>
        </table>

       <!--  <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5> -->
            <div class="padding-10 text-center">暂无数据~~</div>
</form>
</div>
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>

<script src="__STATIC__/layout/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
<!--统计代码，可删除-->
<script src="__STATIC__/layout/js/plugins/layer/laydate/laydate.js"></script>
<script>

    //日期范围限制
    var start = {
        elem: '#start',
        format: 'YYYY-MM-DD',
//        min: laydate.now(), //设定最小日期为当前日期
        max: '2099-06-16 23:59:59', //最大日期
        istime: true,
        istoday: false,
        choose: function (datas) {
            end.min = datas; //开始日选好后，重置结束日的最小日期
            end.start = datas //将结束日的初始值设定为开始日
        }
    };
    var end = {
        elem: '#end',
        format: 'YYYY-MM-DD',
//        min: laydate.now(),
        max: '2099-06-16 23:59:59',
        istime: true,
        istoday: false,
        choose: function (datas) {
            start.max = datas; //结束日选好后，重置开始日的最大日期
        }
    };
    laydate(start);
    laydate(end);
    

     //删除
        $(".delthis").click(function(){
             var mid=$(this).parent().attr("mid");
            swal({
                            title: "提示",
                            text: "您真的要删除这个物料么？",
                            type: "warning",
                            showCancelButton: true,
                            confirmButtonColor: "#FF3333",
                            confirmButtonText: "是的我要删除",
                            cancelButtonText: "取消",
                            closeOnConfirm: true
                        })
                        // function (isConfirm) {
                        //     if (isConfirm) {
                        //    //alert(cid);
                        //     $.post("/kxzz/public/index.php/index/materials/dropm.html",{mid:mid},function(re){
                        //         //alert(re);
                        //         if(re==1){
                        //             swal({
                        //             title: "完成",
                        //             text:  "物料已删除",
                        //             type: "success"
                        //             },function(){
                        //                 location.href='/kxzz/public/index.php/index/materials/produce.html';
                        //             });
                        //         }else{
                        //              swal({
                        //             title: "错误",
                        //             text:  "系统繁忙请稍后再试",
                        //             type: "warning"
                        //             });
                        //         }
                        //     })
                        // }
                        // })
                           
        })

</script>
</body>

</html>
